projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ae5e01
)
Reduced natural request padding for rotating ellipsizing labels
author
Tristan Van Berkom
<tristan.van.berkom@gmail.com>
Tue, 20 Apr 2010 01:50:55 +0000
(21:50 -0400)
committer
Tristan Van Berkom
<tristan.van.berkom@gmail.com>
Tue, 20 Apr 2010 01:50:55 +0000
(21:50 -0400)
After fixing height requests this works much smoother, although in
some places pango seems to ellipsize a rotated label when given
the width it requested.
gtk/gtklabel.c
patch
|
blob
|
history
diff --git
a/gtk/gtklabel.c
b/gtk/gtklabel.c
index 0e292207b39f6971c6af9243ee0498c0da488e2b..ff210feb92fa24ac3472281e6a4e42ce25b3ff21 100644
(file)
--- a/
gtk/gtklabel.c
+++ b/
gtk/gtklabel.c
@@
-156,7
+156,7
@@
enum {
/* When rotating ellipsizable text we want the natural size to request
* more to ensure the label wont ever ellipsize in an allocation of full natural size.
* */
-#define ROTATION_ELLIPSIZE_PADDING
1
2
+#define ROTATION_ELLIPSIZE_PADDING 2
static guint signals[LAST_SIGNAL] = { 0 };